sub infix:<*>
Documentation for sub infix:<*>
assembled from the following types:
class Range
From Range
(Range) sub infix:<*>
multi sub infix:<*>(Range \r, Real \v)multi sub infix:<*>(Real \v, Range \r)
Takes an Real
and multiply both boundaries of the Range object by that number.
say (1..2) * 2; # OUTPUT: «2..4»